<!DOCTYPE html>
<html>
<head>
  <style>
    div.foo {
      padding-bottom: 50%;
      display: -moz-box;
      direction: rtl;
    }
  </style>
</head>
<body>
  <div class="foo"></div>
</body>
</html>
